weights = input("请输入若干个体重，以空格分隔：")
weight_list = weights.split()
weight_list = [float(i) for i in weight_list]
avg_weight = sum(weight_list) / len(weight_list)
for i in weight_list:
    if i > avg_weight:
        print(i, end=" ")
